﻿@{
    ViewBag.Navi = "#ui-bonus";
    Layout = "~/Views/Shared/_User.cshtml";
}

<div id="main-box" class="myhome_center" style="width: 720px;">
    <div class="full">
        <div class="tou">
            <h2>
                我的红包</h2>
        </div>
        <div class="overage" id="">
            您当前共有<strong>2</strong>张可用红包
        </div>
        <div class="form">
            <div class="introduc_info-usr">
                <div class="tab2_container">
                    <div class="introduc_area tab2_content" id="tab1">

                    
                      @(Html.Telerik().Grid<dynamic>()
                            .Name("Grid")
                            .Columns(c =>
                            {
                              
                                c.Bound("Id")
                                    .Title("编号");

                                c.Bound("Data4")
                                    .Title("面值")
                                    .Format("￥{0}");

                                c.Bound("Data3")
                                    .Title("所需消费金额")
                                    .Format("￥{0}");
                                
                                c.Bound("Date")
                                    .Title("有效期")
                                    .Format("即日至{0:yyyy-MM-dd}");

                                c.Bound("Id")
                                    .Title("使用限制")
                                    .ClientTemplate("全品类");

                            })
                            .DataBinding(binding => binding.Ajax().Select("_GetSampleData", "Sample"))
                            .Sortable()
                            .Pageable(p => p.PageSize(10))

                        )
 
                    </div>
                </div>
                <div class="bonus_item">
                    红包序列号
                    <input id="Text2" type="text" value="" class="txtActiveKey" />
                    <input id="btnPay" type="submit" value="激活" class="btnPay ui-icons" />
                </div>
            </div>
        </div>
    </div>
</div>
